<?php
/**
 * @Author:      zk
 * @DateTime:    18-7-12 上午10:45
 * @Description: 用于 OA系统 提示信息
 */
return [
    'args_error_100000' => ['code' => 100000, 'msg' => '参数不全'],
    'login_args_error_210001' => ['code' => 210001, 'msg' => '参数不全，用户名 or 密码'],
    'login_user_status_error_210002' => ['code' => 210002, 'msg' => '用户状态未启用'],
    'login_user_name_pwd_error_210003' => ['code' => 210003, 'msg' => '用户名密码错误'],
    'login_user_status_error_210004' => ['code' => 210004, 'msg' => '用户已经被删除'],
    'login_create_token_error_210005' => ['code' => 210005, 'msg' => '创建token失败'],
    'user_token_not_exist_210006' => ['code' => 210006, 'msg' => 'token 不存在'],
    'user_not_exist_210007' => ['code' => 210007, 'msg' => '用户不存在'],
    'user_unknown_error_210008' => ['code' => 210008, 'msg' => '用户状态异常'],
    'token_error_210009' => ['code' => 210009, 'msg' => 'token 必须填'],
    'token_clean_error_210010' => ['code' => 210010, 'msg' => '清除token异常'],
    'user_passwd_error_210011' => ['code' => 210011, 'msg' => '原密码错误'],
    'resource_create_error_210012' => ['code' => 210012, 'msg' => '创建资源失败'],
    'resource_update_status_error_210013' => ['code' => 210013, 'msg' => '更新资源状态失败'],
    
    'role_exist_error_211001' => ['code' => 211001, 'msg' => '该角色已存在'],
    'role_create_error_211002' => ['code' => 211002, 'msg' => '角色创建失败'],
    'role_use_error_211003' => ['code' => 211003, 'msg' => '该角色有用户在使用'],
    'role_not_exist_error_211004' => ['code' => 211004, 'msg' => '该角色不存在'],
    'role_update_status_error_211005' => ['code' => 211005, 'msg' => '角色状态更新失败'],
    'user_create_status_error_211006' => ['code' => 211006, 'msg' => 'OA用户创建失败'],
    'user_update_status_error_211007' => ['code' => 211007, 'msg' => 'OA用户编辑失败'],
    'user_exist_error_211008' => ['code' => 211008, 'msg' => '该用户已存在'],
    'user_update_status_error_211009' => ['code' => 211009, 'msg' => '更新用户状态失败'],
    'user_role_create_error_211010' => ['code' => 211010, 'msg' => '用户角色创建失败'],

    'news_notice_readStatus_error_211101' => ['code' => 211101, 'msg' => '消息状态修改失败'],
    'news_notice_readStatus_error_211102' => ['code' => 211102, 'msg' => '添加消息失败'],
    
    //审批相关
    'approval_type_exist_error_221001' => ['code' => 221001, 'msg' => '该审批类型已存在'],
    'approval_type_create_error_221002' => ['code' => 221002, 'msg' => '审批类型创建失败'],
    'approval_type_update_status_error_221003' => ['code' => 221003, 'msg' => '审批类型状态更新失败'],
    'approval_model_create_error_221004' => ['code' => 221004, 'msg' => '审批模板创建失败'],
    'approval_args_error_221005' => ['code' => 221005, 'msg' => '审批编号规则参数有误'],
//    'approval_args_error_221006' => ['code' => 221006, 'msg' => '使用人员参数有误'],
    'approval_args_error_221006' => ['code' => 221006, 'msg' => '使用范围不可为空'],
    'approval_args_error_221007' => ['code' => 221007, 'msg' => '抄送人员参数有误'],
    'approval_type_using_error_221008' => ['code' => 221008, 'msg' => '审批类型正在使用中'],
    'approval_args_error_221009' => ['code' => 221009, 'msg' => '审批人参数有误'],
    'approval_args_error_221010' => ['code' => 221010, 'msg' => '审批条件添加失败'],
    'approval_args_error_221011' => ['code' => 221011, 'msg' => '审批人/审批角色添加失败'],
    'approval_args_error_221012' => ['code' => 221012, 'msg' => '审批条件规则添加失败'],
    'approval_args_error_221013' => ['code' => 221013, 'msg' => '抄送人员添加失败'],
    'approval_args_error_221014' => ['code' => 221014, 'msg' => '审批模型的使用人员添加失败'],
    'approval_args_error_221015' => ['code' => 221015, 'msg' => '审批编号规则添加失败'],
    'approval_args_error_221016' => ['code' => 221016, 'msg' => '各个审批层级的无条件审批设置只能有一个'],
    'approval_update_args_error_221017' => ['code' => 221017, 'msg' => '审批编号规则编辑失败'],
    'approval_update_args_error_221018' => ['code' => 221018, 'msg' => '审批模型的使用人员编辑失败'],
    'approval_update_args_error_221019' => ['code' => 221019, 'msg' => '审批模型的抄送人员编辑失败'],
    'approval_update_args_error_221020' => ['code' => 221020, 'msg' => '审批模型的审批人员编辑失败'],
    'approval_update_args_error_221021' => ['code' => 221021, 'msg' => '审批模型的审批条件编辑失败'],
    'approval_model_update_error_221022' => ['code' => 221022, 'msg' => '审批模板编辑失败'],
    'approval_model_change_log_error_221023' => ['code' => 221023, 'msg' => '审批模板编辑日志添加失败'],
    'approval_model_id_error_221024' => ['code' => 221024, 'msg' => '审批模型id有误'],
    'approval_model_lock_error_221025' => ['code' => 221025, 'msg' => '审批模型已被锁定'],
    'apply_file_error_221026' => ['code' => 221026, 'msg' => '附件上传失败'],
    'apply_create_error_221027' => ['code' => 221027, 'msg' => '申请创建失败'],
    'apply_number_error_221028' => ['code' => 221028, 'msg' => '申请编号有误'],
    'apply_number_add_error_221029' => ['code' => 221029, 'msg' => '申请编号添加失败'],
    //'apply_approver_error_221030' => ['code' => 221030, 'msg' => '设置审批人员失败'],
    'apply_approver_error_221030' => ['code' => 221030, 'msg' => '不满足审批条件'],
    'apply_id_error_221031' => ['code' => 221031, 'msg' => '申请信息不存在'],
    'apply_transfer_error_221032' => ['code' => 221032, 'msg' => '无权转发该申请'],
    'apply_flow_update_error_221033' => ['code' => 221033, 'msg' => '申请流转状态更新失败'],
    'transfer_add_error_221034' => ['code' => 221034, 'msg' => '转发审批人添加失败'],
    'news_notice_apply_people_error_221035' => ['code' => 221035, 'msg' => '申请人消息提醒添加失败'],
    'news_notice_cc_error_221036' => ['code' => 221036, 'msg' => '抄送人消息提醒添加失败'],
    'news_notice_approver_error_221037' => ['code' => 221037, 'msg' => '审批人消息提醒添加失败'],
    'apply_status_error_221038' => ['code' => 221038, 'msg' => '申请状态变更失败'],
    'apply_cancel_error_221039' => ['code' => 221039, 'msg' => '申请撤销失败'],
    'apply_delete_status_error_221040' => ['code' => 221040, 'msg' => '申请状态删除错误'],
    'apply_delete_error_221041' => ['code' => 221041, 'msg' => '申请删除失败'],
    'apply_file_not_exit_error_221042' => ['code' => 221042, 'msg' => '附件不存在'],
    'apply_file_delete_error_221043' => ['code' => 221043, 'msg' => '附件删除失败'],
    'apply_number_get_error_221044' => ['code' => 221044, 'msg' => '申请编号规则获取失败'],
    'approval_model_use_get_error_221045' => ['code' => 221045, 'msg' => '审批模型适用人员获取失败'],
    'approval_model_approver_get_error_221046' => ['code' => 221046, 'msg' => '审批模型审批人员获取失败'],
    'news_notice_cc_error_221047' => ['code' => 221047, 'msg' => '转批接收人消息提醒添加失败'],
    
    'new_log_write_error_212001' => ['code' => 212001, 'msg' => '系统日志写入失败'],
    'approval_model_status_error_212002' => ['code' => 212002, 'msg' => '审批模板状态修改失败'],
    'apply_controller_status_error_212003' => ['code' => 212003, 'msg' => '你不是审批人，不能提交修改'],
    'apply_controller_status_error_212004' => ['code' => 212004, 'msg' => '操作失败，请查看是否已经有人审批过了'],

];
